package com.whmskj.xjlhbc.service;

import com.whmskj.xjlhbc.dto.EnergyConsumption.WorkShopEnergyGroupDto;
import com.whmskj.xjlhbc.dto.EnergyConsumption.WorkShopEnergySummaryVo;
import com.whmskj.xjlhbc.dto.EnergyConsumption.WorkshopEnergyResponse;

import java.util.Date;
import java.util.List;

/**
 * @Author: Sakura
 * @Date: 2025/8/21 10:34
 * @Version: v1.0.0
 * @Description: TODO
 **/
public interface EnergyConsumptionService {
    /**
     * 获取车间能耗数据
     * @param startDate 开始时间
     * @param endDate 结束时间
     * @param workshop 车间
     * @return
     */
    WorkShopEnergySummaryVo getWorkshopEnergySummary(Date startDate, Date endDate, String workshop);

    /**
     * 获取车间能耗明细
     * @param workshop 车间
     * @return
     */
    WorkshopEnergyResponse getEnergyDetailsByWorkshopAndDate(String workshop, Date queryDate);
}
